import reqGlobal from '../reqGlobal';

/**
 * 测试nodejs 的mock接口
 * /goods/list
 */
export function testMockApi() {
    return reqGlobal.get('/goods/list');
}


export function getCaptcha() {
    return reqGlobal.get('/lte/captcha');
}

export function loginReq(queryParamObj) {
    return reqGlobal.get('/lte/login', {params: queryParamObj});
}

export function getPremByUserId(param) {
    return reqGlobal.get('/lte/getPremByUserId', {params: param});
}

export function logout() {
    return reqGlobal.get('/lte/logout');
}